//
//  HomeSectionContainer.m
//  PlayCatchGame
//
//  Created by hzc on 2018/4/13.
//  Copyright © 2018年 清正. All rights reserved.
//

#import "HomeSectionContainer.h"

@implementation HomeSectionContainer

- (NSMutableArray<GoodsModel *> *)contentList {
    if (_contentList == nil) {
        _contentList = [[NSMutableArray alloc] init];
    }
    return _contentList;
}

- (NSString *)title {
    if (_title == nil) {
        _title = @"";
    }
    return _title;
}

- (void)setContentListWithArr:(NSArray *)arr {
    
    
}

- (NSMutableSet *)allGoodsId {
    NSMutableSet *set = [NSMutableSet set];
    for (GoodsModel *model in self.contentList) {
        [set addObject:@(model.id)];
    }
    return set;
}

@end
